dreamweaver.getSiteRoot()

Availability 1.2
Description Gets the local root folder (as specified in the Site Definition dialog box) for the site associated with the currently selected document, expressed as a file:// URL.
Arguments None.
Returns One of the following values:
A string containing the URL of the local root folder of the site within which the file has been saved.
An empty string if the file is not associated with a site.
Enabler None.